header {
  height: 40px;
  display: flex;
  background-color: red;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
}

header > .logo {
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../images/jd-sprites.png");
  background-size: 200px 200px;
  background-origin: content-box;
  background-clip: content-box;
  padding: 10px 5px;
  background-position: 0 -110px;
}

header > .search {
  flex: 1;
  padding: 5px 0;
}

header > .search > input {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  border: none;
  outline: none;
}

header > .login {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

nav {
  display: flex;
  flex-wrap: wrap;
}

nav > a {
  width: 25%;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

nav > a > img {
  width: 50%;
}

.sec_kill .kill_title {
  display: flex;
  justify-content: space-between;
  padding: 2px 10px;
}

.sec_kill .kill_title .kill_font {
  color: red;
}

.sec_kill .kill_title .timer {
  font-size: 0;
}

.sec_kill .kill_title .timer > span {
  font-size: 16px;
  background-color: #000;
  color: #fff;
  padding: 2px;
  margin-left: 2px;
}

.sec_kill .kill_title .timer > span:nth-child(3n) {
  background-color: #fff;
  color: #000;
}

.sec_kill .kill_content {
  display: flex;
}

.sec_kill .kill_content > a {
  flex: 1;
  position: relative;
  text-align: center;
}

.sec_kill .kill_content > a > .tips {
  background-color: #fdb60a;
  color: #fff;
  border-radius: 50%;
  padding: 2px 5px;
  position: absolute;
  bottom: 50%;
  right: 20%;
}

.sec_kill .kill_content > a > .new_price {
  color: red;
}

.sec_kill .kill_content > a > .old_price {
  color: #666;
  text-decoration: line-through;
}

.festival .festival_title {
  position: relative;
}

.festival .festival_title ul {
  position: absolute;
  bottom: 5px;
}

.festival .festival_title ul li {
  float: left;
  width: 50%;
}

.festival .festival_title ul li a img {
  width: 95%;
  margin: 0 auto;
}

.festival .festival_content {
  display: flex;
  flex-wrap: wrap;
}

.festival .festival_content > a {
  width: 50%;
}

.festival .festival_content > a:nth-child(-n+3) {
  width: 33.33%;
}

.goods_title {
  color: red;
  font-size: 20px;
}

.market .market_content > a {
  float: left;
  width: 50%;
}

.market .market_content > a:nth-child(4) {
  clear: both;
}

.theme .theme_content > a {
  float: left;
  width: 25%;
}

.theme .theme_content > a:nth-child(-n+2) {
  width: 50%;
}

.theme .theme_content > a:nth-child(5) {
  clear: both;
}

.recommend .rec_content {
  display: flex;
}

.recommend .rec_content > a {
  flex: 3;
}

.recommend .rec_content > a:first-child {
  flex: 4;
}

.guess .goods_title {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.guess .goods_title > a {
  display: flex;
  font-size: 14px;
  align-items: center;
}

.guess .goods_title > a > img {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}

.guess .guess_content ul {
  display: flex;
  flex-wrap: wrap;
}

.guess .guess_content ul li {
  width: 50%;
  padding: 10px;
}

.guess .guess_content ul li .gc_title {
  display: flex;
  justify-content: space-between;
}

.guess .guess_content ul li .gc_title > span {
  color: red;
}

.guess .guess_content ul li .gc_title > a {
  border: 1px solid #ccc;
  color: #666;
  font-size: 13px;
}

.guess .guess_content ul li .gc_content > a {
  display: block;
}

.guess .guess_content ul li .gc_content > a > p {
  overflow: hidden;
  height: 40px;
  font-size: 15px;
  border-bottom: 1px solid #000;
}

.btm_tool {
  background-color: #f3f5f7;
  text-align: center;
}

.btm_tool > * {
  border-top: 1px solid #000;
  padding: 10px 0;
}

.btm_tool > .more {
  display: block;
}

.btm_tool .link {
  display: flex;
}

.btm_tool .link > a {
  flex: 1;
  border-right: 1px solid #000;
}

.btm_tool .link > a:last-child {
  border-right: none;
}

.btm_tool .devices {
  display: flex;
}

.btm_tool .devices > a {
  flex: 1;
}

.btm_tool .devices > a > span {
  background-image: url("../images/jd-sprites.png");
  background-size: 200px 200px;
  background-position: -120px -70px;
  width: 40px;
  height: 40px;
  display: inline-block;
}

.btm_bottom {
  display: flex;
}

.btm_bottom > a {
  flex: 1;
}

footer {
  display: flex;
  position: fixed;
  width: 100%;
  bottom: 0;
}

footer > a {
  flex: 1;
}
